package awl;

import static org.junit.Assert.assertEquals;
import org.junit.Test;

/**
 * Makes sure that Xinetd is moving ahead after turn.
 * @author Alan Lee
 */
public class TestTurnStrategy {

  /**
   * Test to make sure that the robot move is consistent. 
   */
  @Test
  public void testTurn() {
    Xinetd robot = new Xinetd();
    assertEquals("Move ahead",robot.change(90), 100.0, 0); 
  }
}
